const Mock = require('mockjs')

const data = Mock.mock({
	'list|10-20': [{
		url: '@image(100x100, @color)',
		title: '@ctitle',
		desc: '@cword(10, 20)',
		id: '@id'
	}],
	'listCity|10': [{
		title: '@cname(2)',
		id: '@id',
		"children|10-20": [{
			title: '@cname(2, 4)',
			id: '@id'
		}]
	}]
})

module.exports = data